#include <cstdlib>
#include <cstdio>
#include "TableIdent.hpp"

extern int yyparse ();
extern FILE* yyin;
extern TableIdent ti;
extern TableIdent ts;

int main ( int argc, char** argv )
{
	if ( argc > 1 )
		yyin = fopen ( argv [ 1 ], "r" );
	yyparse ();
	ti.print();
	ts.print();
	if ( argc > 1 )
		fclose ( yyin );
}
